<html>
<#include "../common/header.ftl">

<body>
<div id="wrapper" class="toggled">

    <#--边栏sidebar-->
    <#include "../common/nav.ftl">

    <#--主要内容content-->
    <div id="page-content-wrapper">
        <div class="container-fluid" style="margin-left: 54px">
            <div class="row clearfix">
                <div class="col-md-6 column">
                    <form role="form" method="post" action="/sell/seller/contact/send/save">
                        <div class="form-group">
                            <label>合同id</label>
                            <input name="contactId" type="number" readonly class="form-control" value="${(contactId)!''}"/>

                        </div>
                        <div class="form-group">
                            <label>商品名称</label>
                            <input name="productName" type="text"required="required"  class="form-control" min="1" value="${(productName)!''}"/>
                        </div>
                        <div class="form-group">
                            <label>发货数量</label>
                            <input name="productQuantity" type="number"  required="required" class="form-control" max="${productNumout}" value="${productNumout}"/>
                        </div>
                        <button type="submit" class="btn btn-default btn-primary" >提交</button>
                        <input hidden name="productId" value="${productId}"/>
                    </form>
                </div>
            </div>
        </div>
    </div>

</div>
</body>
<script src="/sell/js/jquery.min.js"></script>
<script>
    function bubmi(){
        $(".noNull").each(function(){
            if($(this).val()==""){
                alert($(this).attr('notNull')+"不能为空");return false;
            }
        })
    }
</script>
</html>